package
{
	[Bindable] public class User
	{	public var id:int;
		public var username:String;
		public var email:String;
		public var password:String;
		public var sex:String;
		public var admin:String;
		public var online:Boolean = true;
		public var webcam:Boolean = true;
		public var room:String="";
		public var channelTypeId:int;
		public var description:String;
		public var canChat:Boolean = true;
		public var langue:String;
		public var isAdmin:Boolean = false;
		public var channel:String;
					
		// constructor
		
		public function User(id:int , username:String , sex:String , online:Boolean , webcam:Boolean):void {
			this.id=id;
			this.username=username;
			this.sex=sex;
			this.online=true;
			this.webcam=true;
			this.room = "no";
			this.langue="en";
		}	
	}

}	
